package io.gitee.zhucan123.core.infrastructure.exception;

/**
 * @program: homo
 * @description: 名称重复异常
 * @author: xuqigao
 * @date: 2019-05-21 17:15
 */
public class DuplicateNameException extends RuntimeException {

  private static final long serialVersionUID = 7896336043884706978L;

  public DuplicateNameException(String name) {
    super(String.format("已经存在同名数据: %s", name));
  }
}
